<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="d" uri="/WEB-INF/resource.tld" %>

<!DOCTYPE html>
<html lang="zh-CN">
  
  <head>
    
    <%@ include file="/WEB-INF/include/meta.jsp"%>
    <%@ include file="/WEB-INF/include/css.jsp"%>
    
  </head>
  <!-- end header -->
  <body>
    <div class="page-group">
      <div class="page page-current">
        <header class="bar bar-nav shop-header">
          <h1 class="title">订单完成</h1>
        </header>
        <div class="content" style="margin-bottom: 0rem;">
        
    
          <div style="text-align: center; margin-bottom: 10px;">
                <p style="color: #999;"><small>请长按以下二维码添加客服以便给您安排课程！</small></p>
                <c:set var="alias" value="${order.orderType.alias}-${order.site.id}"></c:set>
                <img style="width: 80%" src="https://prod.qiniu.fit-start.co/new_qr_IMG_7182.JPG">
              </div>
          <div class="content-block" style="margin: 0px;">
            <!-- <p> <a href="#protocol-push" data-link="${ctx.host}/orders/${order.id}/investigations" class="button button-big button-success button-fill">完善信息</a></p> -->
            <p> <a href="${ctx.host}/orders/${order.id}/investigations" class="button button-big button-success button-fill">完善信息</a></p>
          </div>
          
         
          
        </div>
        <!-- End Content -->
        
      </div>
    </div>
    

    
    <%@ include file="/WEB-INF/include/script.jsp"%>
    <d:resource type="script" root="${ctx.resource}/build" src="js/page/trading/order-complete3.js" />
    <!-- <script type="text/javascript">
      var jsConfig = JSON.parse('${wechatJsConfig}')
      require(['page/trading/order-complete3'], function(page) {
        page.init({
          // jsConfig: jsConfig, 
          orderId: '${order.id}',
          productType:'${order.orderType}'
        })
      })
    </script> -->
    <script type="text/javascript">
      var jsConfig = JSON.parse('${wechatJsConfig}');
      
      require(['page/product/wechat-product-detail'], function(page) {
        var data = {
          jsConfig: jsConfig,
          productId: '${product.id}',
          // distributorId: '${distributorId}',
          // productName: '${product.name}',
          // productSummary: '${product.summary}',
          // productCover: '${product.cover}',
          productType: '${order.orderType.alias}',
          isOnlineYear: '${order.onlineYear}'
        }
        page.init(data)
      })
    </script>
  </body>
</html>